﻿namespace Microsoft.Windows.Forms
{
    [System.ComponentModel.Designer(typeof(WenSkin.Design.Designer.DuiControlDesigner))]
    /// <summary>
    /// 虚拟控件
    /// </summary>
    public partial class UIControl : Disposable, IUIControl
    {
        public override string ToString()
        {
            return string.IsNullOrEmpty(Name + Text) ? base.ToString() : $"{Name}[{Text}]";
        }
    }
}
